public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.CreateTree();
        System.out.print("前序遍历：");
        binaryTree.PrevOrder(root);
        System.out.println();
        System.out.print("中序遍历：");
        binaryTree.InOrder(root);
        System.out.println();
        System.out.print("后序遍历：");
        binaryTree.PostOrder(root);
    }
}
